package com.sqin.taskflow.listen;

import com.sqin.taskflow.task.AbsTask;
import com.sqin.taskflow.task.SingleTask;

public interface ITaskListen {

    public void beforeExecute(AbsTask task);

    public void afterExecute(AbsTask task);

    void exception(AbsTask task, Throwable throwable);

    void executeResult(SingleTask singleTask);
}
